package com.linfnn.demo.Service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.linfnn.demo.Mapper.DiseaseMapper;
import com.linfnn.demo.Model.Disease;
import com.linfnn.demo.Service.DiseaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DiseaseServiceImpl extends ServiceImpl<DiseaseMapper, Disease> implements DiseaseService {

    @Autowired
    DiseaseMapper diseaseMapper;

    @Override
    public Disease getById(String id) {
        return diseaseMapper.selectById(id);
    }
}
